<?php

namespace app\crm\model;


class Complaint extends BaseModel
{
    public function getImgAttr($value,$data){
        $base_url = 'http://picture.biduoduo.site';
        $url = json_decode($value,true);
        foreach ($url as &$item){
            $item = $base_url.$item;
        }
        return $url;
    }
}